package org.uned.agonzalo16.bitacora.web.message;

import org.hibernate.validator.constraints.NotBlank;

public class MessageForm {

	private Long id;

	@NotBlank
	private String destination;

	@NotBlank
	private String subject;

	private String content;

	public MessageForm() {
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getDestination() {
		return destination;
	}

	public void setDestination(String destination) {
		this.destination = destination;
	}

	public String getSubject() {
		return subject;
	}

	public void setSubject(String subject) {
		this.subject = subject;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}
}
